package com.xxx.mch.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020-09-10
 */
@Setter
@Getter
@ToString (callSuper = true)
@ApiModel ("确认得分实体")
public class ConfirmScoreRequest
{
    @ApiModelProperty ("id")
    @NotNull (message = "id不能为空")
    private Integer id;

    @ApiModelProperty ("确认状态：1正确；0不正确")
    @NotNull (message = "confirm不能为空")
    @Range (min = 0, max = 1, message = "confirm状态不对")
    private Integer confirm;

    @ApiModelProperty ("申述理由")
    private String applyReason;
}
